
import {lazy} from "react";

export const ARoutes = [
    {
        redirect:true,
        from:'/a',
        to:'/a/a1',
        exact: true,
    },
    {
        redirect:false,
        path:'/a/a1',
        component:lazy(()=>import(/*webpackChunkName:"ChildAOne"*/"../../views/routeList/root/child/ChildAOne")),
    },
    {
        redirect:false,
        path:'/a/a2',
        component:lazy(()=>import(/*webpackChunkName:"ChildAOne"*/'../../views/routeList/root/child/ChildATwo')),
    },
    {
        redirect:false,
        path:'/a/a3/:id/:name',
        component:lazy(()=>import(/*webpackChunkName:"ChildAOne"*/'../../views/routeList/root/child/ChildAThree')),
    },
    {
        redirect:false,
        path:'/a/a4',
        component:lazy(()=>import(/*webpackChunkName:"ChildAOne"*/'../../views/routeList/root/child/ChildAFour'))
    }
]